import request from '@/utils/request'

// 查询实时获取成交记录列表
export function listSpotrealtimetransactionbak(query) {
  return request({
    url: '/spotrealtimetransaction/spotrealtimetransactionbak/list',
    method: 'get',
    params: query
  })
}

// 查询实时获取成交记录详细
export function getSpotrealtimetransactionbak(id) {
  return request({
    url: '/spotrealtimetransaction/spotrealtimetransactionbak/' + id,
    method: 'get'
  })
}

// 新增实时获取成交记录
export function addSpotrealtimetransactionbak(data) {
  return request({
    url: '/spotrealtimetransaction/spotrealtimetransactionbak',
    method: 'post',
    data: data
  })
}

// 修改实时获取成交记录
export function updateSpotrealtimetransactionbak(data) {
  return request({
    url: '/spotrealtimetransaction/spotrealtimetransactionbak',
    method: 'put',
    data: data
  })
}

// 删除实时获取成交记录
export function delSpotrealtimetransactionbak(id) {
  return request({
    url: '/spotrealtimetransaction/spotrealtimetransactionbak/' + id,
    method: 'delete'
  })
}
